/*
 * @Author: your name
 * @Date: 2021-02-04 15:19:49
 * @LastEditTime: 2021-02-04 15:20:22
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \radio-web\src\views\radio\clip\clipColumns\AItranslateColumns.js
 */
export default [
  {
    label: '序号',
    prop: 'id',
    align: 'center'
  },
  {
    label: '媒体名称',
    prop: 'title',
    align: 'center'
  },
  {
    label: '时长',
    prop: 'duration',
    align: 'center',
    formatter(row, column, cellValue, index) {
      return `<div>${row.duration} s</div>`
    }
  },
  {
    label: '一级分类',
    prop: 'cateOneText',
    align: 'center'
  },
  {
    label: '二级分类',
    prop: 'cateTwoText',
    align: 'center'
  },
  {
    label: '关键字',
    prop: 'keywords',
    align: 'center'
  },
  {
    label: '入库时间',
    prop: 'addTime',
    align: 'center'
  },
  {
    label: '来源',
    prop: 'source',
    align: 'center',
    render: (h, row) => {
      return (<span>{sourceFormat.data[row.source].value}</span>)
    }
  },
  {
    label: '水印状态',
    prop: 'maskStatus',
    align: 'center',
    render: (h, row) => {
      return (<span>{watermarkFormat.data[row.maskStatus].value}</span>)
    }
  },
  {
    label: '节目分类',
    prop: 'lenType',
    align: 'center',
    render: (h, row) => {
      return (<span>{lenTypeFormat.data[row.lenType].value}</span>)
    }
  },
  {
    label: '发布人',
    prop: 'bizType',
    align: 'center',
    render: (h, row) => {
      return (<span>{bizTypeFormat.data[row.bizType].value}</span>)
    }
  }

]